package AbstractFactory;

import AbstractFactory.domain.Department;

/**
 * @author duanzhizhou
 * @date 2024/10/12
 */
public class MySqlDepartment implements IDepartment {
    @Override
    public Department getDepartment(Long id) {
        System.out.println("MySql查询部门成功");
        return new Department();
    }
    
    @Override
    public void addDepartment(Department department) {
        System.out.println("MySql添加部门成功");
    }
}
